<div class="modal-header">
    <div class="modal-title">修改密码</div>
</div>

<form #f="ngForm"
      labelWidth="100"
      nz-form
      se-container="1">
    <se error="输入原密码" label="原密码" required>
        <input [(ngModel)]="pws.oldPwd"
               minlength="4"
               name="oldPwd"
               nz-input
               nzSize="large"
               placeholder="输入原密码"
               type="password"/>
    </se>
    <se error="输入原密码" label="新密码" required>
        <input [(ngModel)]="pws.newPwd"
               minlength="4"
               name="newPwd"
               nz-input
               nzSize="large"
               placeholder="输入新密码"
               type="password"/>
    </se>
    <se error="输入原密码" label="确认新密码" required>
        <input [(ngModel)]="pws.conPwd"
               minlength="4"
               name="conPwd"
               nz-input
               nzSize="large"
               placeholder="确认新密码"
               type="password"/>
    </se>
    <se col="1">
        <div class="modal-footer">
            <button (click)="close()"
                    nz-button
                    type="button">关闭
            </button>
            <button (click)="save(f.value)"
                    [disabled]="!f.valid"
                    [nzType]="'primary'"
                    nz-button
                    type="submit">保存
            </button>
        </div>
    </se>
</form>
<!--<sf #sf [formData]="i" [schema]="schema" [ui]="ui" button="none" mode="edit">-->
<!--    <div class="modal-footer">-->
<!--        <button (click)="close()" nz-button type="button">关闭</button>-->
<!--        <button (click)="save(sf.value)" [disabled]="!sf.valid" [nzLoading]="http.loading" nz-button nzType="primary"-->
<!--                type="submit">保存-->
<!--        </button>-->
<!--    </div>-->
<!--</sf>-->
